package com;

import lombok.Data;

import java.io.Serializable;

/**
 * @author linyukun
 * @date 2022/7/5 19:03
 */
@Data
public class Book implements Serializable {
    private long id;//书籍id
    //外键号
    private long typeId;
    private String name;
    private double price;
    private String desc;
    private String pic;
    private String publish;
    private String author;
    private long stock;
    private String address;

    //外键对应的实体对象
    private Type  type;
}
